package com.zgx.plus.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zgx.plus.system.api.pos.SysDictData;
import com.zgx.plus.system.api.pos.SysDictType;

import java.util.List;

public interface SysDictTypeService extends IService<SysDictType>{


    SysDictType selectDictTypeById(Long dictId);

    List<SysDictType> selectDictTypeAll();

    boolean resetDictCache();

    boolean deleteDictTypeByIds(Long[] dictIds);

    boolean checkDictTypeUnique(SysDictType dict);

    boolean updateDictType(SysDictType dict);

    List<SysDictType> selectDictTypeList(SysDictType dictType);

    boolean insertDictType(SysDictType dict);

    /**
     * 根据字典类型查询字典数据
     *
     * @param dictType 字典类型
     * @return 字典数据集合信息
     */
//    public List<SysDictData> selectDictDataByType(String dictType);
}
